package com.test.javafaq_portal.vo;


/**
 * @author 22044133 左立志
 * @data 2025/5/7 11:00
 */
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Accessors(chain = true)
public class CommentVo implements Serializable {

    @NotNull(message = "答案ID不能为空")
    private Integer answerId;

    @NotBlank(message = "答案内容不能为空")
    private String content;

}
